﻿module Runner {
    export var GAMEHEIGHT = 600;
    export var GAMEWIDTH = 800;

    export class Game extends Phaser.Game {
        constructor() {
            super(Runner.GAMEWIDTH, Runner.GAMEHEIGHT, Phaser.AUTO, null, null);

            this.state.add('Creater', Creater, false);
            this.state.add('Preloader', Preloader, false);

            this.state.start('Creater');
        }
    }
}